using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using yq.IBase;
using yq.Model.Base;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;

namespace yq.Model.Logic
{
    /// <summary>
    /// User_ApiLogin - 登录账号表 - 对象继承类
    /// </summary>
    [MetadataType(typeof(UserApiLoginValidaTion))]
    public class UserApiLogin : IUserApiLogin<UserApiLogin>
    {


       #region 生成实体类验证属性
       /// <summary>
       /// 辅助验证类
       /// </summary>
       [Bind]
       public class UserApiLoginValidaTion
       {

     

        /// <summary>
        /// 自增
        /// </summary>
        [Display(Name ="自增")]
        [Required]
        [StringLength(36)]
        public String Rowid
        {
         get; set; 
        }


       
     

        /// <summary>
        /// 本站ID
        /// </summary>
        [Display(Name ="本站ID")]
        [Required]
        [StringLength(36)]
        public String MyUserId
        {
         get; set; 
        }


       
     

        /// <summary>
        /// 外站ID
        /// </summary>
        [Display(Name ="外站ID")]
        [Required]
        [StringLength(36)]
        public String ApiUserId
        {
         get; set; 
        }


       
     

        /// <summary>
        /// ApiId
        /// </summary>
        [Display(Name ="ApiId")]
        [Required]
        [StringLength(36)]
        public String ApiId
        {
         get; set; 
        }


       

       
       }
       #endregion 生成实体类验证属性
    }
}
